package com.qqtech.qquan.user.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserMoneyLog extends BaseDomain{

	//columns START
    /** 用户Id */
	private java.lang.Integer userId;
    /** 交易额(正数为入账,负数为出账) */
	private java.lang.Integer money;
    /** (交易后)余额 */
	private java.lang.Integer balance;
    /** 交易备注 */
	private java.lang.String remark;
	/** 交易类型：1-圈币;2-余额  **/
	private java.lang.Integer type;
	//columns END
	
	public UserMoneyLog(){
	}

	public UserMoneyLog( java.lang.Integer id ){
		this.id = id;
	}

	public java.lang.Integer getBalance() {
		return this.balance;
	}
	public java.lang.Integer getMoney() {
		return this.money;
	}

	public java.lang.String getRemark() {
		return this.remark;
	}
	
	public java.lang.Integer getUserId() {
		return this.userId;
	}

	public void setBalance(java.lang.Integer balance) {
		this.balance = balance;
	}
	public void setMoney(java.lang.Integer money) {
		this.money = money;
	}
	
	public void setRemark(java.lang.String remark) {
		this.remark = remark;
	}

	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}
	
	public java.lang.Integer getType() {
		return type;
	}

	public void setType(java.lang.Integer type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

